package com.example.everything_is_possible;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;


public class RiChangActivity extends AppCompatActivity {

    private Button mbtn_back;
    private Button mbtn_Ruler;
    private Button mbtn_translate;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ri_chang);

        mbtn_back = findViewById(R.id.btn_back3);
        mbtn_Ruler = findViewById(R.id.app_ruler);
        mbtn_translate = findViewById(R.id.app_translate);

        mbtn_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

        mbtn_Ruler.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = null;
                intent = new Intent(RiChangActivity.this,RuleActivity.class);
                startActivity(intent);
            }
        });

        mbtn_translate.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = null;
                intent = new Intent(RiChangActivity.this,translateActivity.class);
                startActivity(intent);
            }
        });
    }
}